//
//  ChessboardView.h
//  gobang
//
//  Created by huangyu on 11-6-13.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#define ROW_COUNT 11
#define COLUMN_COUNT 9
#define BLACK_CHESS -1
#define WHITE_CHESS 1

typedef enum {
    CHESS_START = 1,
    CHESS_STOP,
    CHESS_PAUSE
}CHESS_STATUS;

@interface ChessboardView : UIView {
    
    int chessMap[ROW_COUNT][COLUMN_COUNT];
    int chessTurn;
    CHESS_STATUS status;
    
}


- (void)restartChess;
- (void)clearChessFlag;
- (void)setChessFlag:(int)flag withRow:(int)row withColumn:(int)column;

@end
